<%@ page contentType="text/html; charset=utf-8"%>

<%@ include file="/WEB-INF/jsp/includeTaglib.jsp"%>

<table id="tableData" class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr class="rowHead">
		<td height="20" width="20" align="center"></td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
		<td height="20" nowrap align="center" class="globalTextBold">名称</td>
		<td height="20" nowrap align="center" class="globalTextBold">地区</td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
	</tr>
	<c:forEach var="content" items="${otherChannels}" varStatus="status">
		<tr class="rowClass">
			<td height="20" width="20" align="center">
			   <input channelCheckBoxCode="${content.code}" class="checkBoxS" style="display: none;" type="checkbox" name="cbIds" value="1">
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.code}" />
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.name}" />
			</td>
			<td height="20" class="globalText">
				${content.cityAdName} ${content.adName}
			</td>
			<td height="20" class="globalText">
				<input type="button" class="btnStyle chooseBtn" value="选择" onclick="javascript:var rtnVal=new Array();rtnVal[0]='${content.code}';rtnVal[1]='${content.name}';rtnVal[2]='${content.address}';parent.window.returnValue=rtnVal;window.close();">
			</td>
			<td height="20" nowrap align="center" class="globalTextBold"></td>
			<td height="20" nowrap align="center" class="globalTextBold"></td>
		</tr>
	</c:forEach>
	<tr class="rowHead">
		<td height="20" width="20" align="center"></td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
		<td height="20" nowrap align="center" class="globalTextBold">名称</td>
		<td height="20" nowrap align="center" class="globalTextBold">通路类别</td>
		<td height="20" nowrap align="center" class="globalTextBold">系统类型</td>
		<td height="20" nowrap align="center" class="globalTextBold">地区</td>
		<td height="20" nowrap align="center" class="globalTextBold"></td>
	</tr>
	<c:forEach var="content" items="${page.data}" varStatus="status">
		<tr class="rowClass">
			<td height="20" width="20" align="center">
			   <input channelCheckBoxCode="${content.code}" class="checkBoxS" style="display: none;" type="checkbox" name="cbIds" value="1">
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.code}" />
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.name}" />
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.category}" />
			</td>
			<td height="20" class="globalText">
				<c:out value="${content.sysCategory}" />
			</td>
			<td height="20" class="globalText">
				${content.adName}
			</td>
			<td height="20" class="globalText">
				<input type="button" class="btnStyle chooseBtn" value="选择" onclick="javascript:var rtnVal=new Array();rtnVal[0]='${content.code}';rtnVal[1]='${content.name}';rtnVal[2]='${content.address}';parent.window.returnValue=rtnVal;window.close();">
			</td>
		</tr>
	</c:forEach>
</table>

<script>
	$(document).ready(function(){
		var pWindow=window.dialogArguments;
	    if(pWindow){
	    	if(typeof(pWindow.channelListOnloadCallBack)=='function'){
	    		pWindow.channelListOnloadCallBack(window);
	    	}
	    }
	});
</script>

<%@ include file="/WEB-INF/jsp/includePagination.jsp"%>


